package com.example.doctorserver.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
public class OrdersResponseDTO {

    private Integer orderId;
    private String userId;

    private String usersRealName;

    private Integer usersSex;

    private String setmealName;

    private Integer smId;

    private String hospitalName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date orderDate;

    private Integer state;


}
